#coding:utf-8

import wx
import sys, os
from gui import reportform








def run(filename):
    app = wx.App(0)
    f = reportform.ReportForm(None)
    f.showReport(filename)
    f.Show()
    app.MainLoop()

if __name__ == '__main__':
    filename = None
    if len(sys.argv) > 1:
        filename = sys.argv[1]
    run(filename)